﻿using FrameworkCore.Migrations.Data;
using System.ComponentModel.DataAnnotations.Schema;

namespace Domain.Entities;

/// <summary>
/// 词汇
/// </summary>
[Table("Vocabulary")]
public partial class Vocabulary : BaseAuditableEntity, ISoftDeletedEntity
{
    /// <summary>
    /// 词
    /// </summary>
    public string? Word { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    public string? Description { get; set; }

    /// <summary>
    /// 是否收藏
    /// </summary>
    public bool IsFavorited { get; set; }

    /// <summary>
    /// 学习状态
    /// </summary>
    public LearningStatus LearningStatus { get; set; }

    /// <summary>
    /// 删除标识
    /// </summary>
    public bool? IsDeleted { get; set; }
}
